package com.jcx.ldzj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jcx.ldzj.entity.DictionariesData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 码值表 Mapper 接口
 * </p>
 *
 * @author ld
 * @since 2021-07-19
 */
@Mapper
public interface DictionariesDataMapper extends BaseMapper<DictionariesData> {
    int countData(@Param("list") List<String> list);
    IPage<DictionariesData> getList(IPage<DictionariesData> page,@Param("dictionariesData") DictionariesData dictionariesData);


    List<DictionariesData> getDicdataByType(@Param("dicnarsId") Integer dicnarsId);
}
